package com.dt76.smallloanbackenduser.pojo.lhuaw;

import java.io.Serializable;
import java.util.Date;

public class SystemMessage implements Serializable {

    private long sId;
    private String messageTitle;
    private Date releaseTime;
    private String publisher;
    private String messageContents;

    public SystemMessage() {
    }

    public SystemMessage(long sId, String messageTitle, Date releaseTime, String publisher, String messageContents) {
        this.sId = sId;
        this.messageTitle = messageTitle;
        this.releaseTime = releaseTime;
        this.publisher = publisher;
        this.messageContents = messageContents;
    }

    public long getsId() {
        return sId;
    }

    public void setsId(long sId) {
        this.sId = sId;
    }

    public String getMessageTitle() {
        return messageTitle;
    }

    public void setMessageTitle(String messageTitle) {
        this.messageTitle = messageTitle;
    }

    public Date getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(Date releaseTime) {
        this.releaseTime = releaseTime;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public String getMessageContents() {
        return messageContents;
    }

    public void setMessageContents(String messageContents) {
        this.messageContents = messageContents;
    }

    @Override
    public String toString() {
        return "SystemMessage{" +
                "sId=" + sId +
                ", messageTitle='" + messageTitle + '\'' +
                ", releaseTime=" + releaseTime +
                ", publisher='" + publisher + '\'' +
                ", messageContents='" + messageContents + '\'' +
                '}';
    }
}
